package com.assumejson.circular_dependency.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ConfigurationClassPostProcessor;
import org.springframework.context.annotation.Lazy;
import org.springframework.core.Conventions;
import org.springframework.stereotype.Component;

/**
 * @author by gang.Li 2022/4/8 14:14
 */
@Component
@Lazy
public class AService {

	@Autowired
	private BService bService;

//	public AService(BService bService) {
//		this.bService = bService;
//	}

	public static void main(String[] args) {
		System.out.println(Conventions.getQualifiedAttributeName(ConfigurationClassPostProcessor.class, "configurationClass"));
	}
}
